package com.cunshe.dao;


import com.cunshe.domain.Video;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VideoDao {

    int insert(Video record);
    int delete(Long id);
    int deleteByProductId(Long productId);
    int update(Video record);
    List<Video> list(Video record);

}